package com.app.service;

import com.app.model.TestFailureModel;
import com.app.util.Result;
import com.app.vo.TestFailureVo;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

public interface TestFailureService {
    void update(TestFailureModel testFailureModel);

    void insert(TestFailureModel testFailureModel);

    TestFailureVo getTestFailureList(Integer page, Integer limit, String name, Integer departmentId, Integer sortType);

    void deleteTestFailure(Integer id);

    TestFailureModel getModelById(Integer id);

    List<TestFailureModel> getPlantByIds(List<Integer> appIdList);

    // 导入实验故障统计excel文件
    String importTestFaultFile(MultipartFile file) throws Exception;

    Result<Object> deleteBatchByIds(String ids);
}


